﻿using System.Data;
using System.Collections.Generic;
using IDAL;
using Model;

namespace BLL
{
    public class PCBAssembleDetail
    {
        private static readonly IPCBAssembleDetail dal = DALFactory.DataAccess.CreatePCBAssembleDetail();

        public IList<PCBAssembleDetailInfo> GetPCBAssembleDetailsbySN(string pCBASN)
        {
            return dal.GetPCBAssembleDetailsbySN(pCBASN);
        }

        public IList<PCBAssembleDetailInfo> GetPCBAssembleDetailbyIPPID(string pCBTypeID, string ip)
        {
            return dal.GetPCBAssembleDetailbyIPPID(pCBTypeID, ip);
        }
    }
}
